package com.shixun.milktea.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Collection;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;

/**
 * <p>
 * 
 * </p>
 *
 * @author zrs
 * @since 2022-06-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tbl_consumer")
@ApiModel(value="Consumer对象", description="")
public class Consumer implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "consumer_id", type = IdType.AUTO)
    @ApiModelProperty(value = "消费者编号")
    private Integer consumerId;

    @ApiModelProperty(value = "用户头像")
    private String consumerAvatarurl;

    @ApiModelProperty(value = "消费者姓名")
    private String consumerName;

    @ApiModelProperty(value = "消费者性别")
    private String consumerSex;

    @ApiModelProperty(value = "用户收货地址")
    private String consumerAddress;

    @ApiModelProperty(value = "用户电话号码")
    private String consumerTelephone;

    @ApiModelProperty(value = "用户余额")
    private BigDecimal consumeMoney;
    @ApiModelProperty(value = "用户昵称")
    private String consumerNikename;
    @ApiModelProperty(value = "用户密码")
    private String consumerPassword;








}
